//
//  UIView+YGScreenshot.h
//  UIKit分类整合
//
//  Created by Mr.xu on 2017/1/8.
//  Copyright © 2017年 xuyaguang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (YGScreenshot)
//View截图
- (UIImage *)yg_screenshot;

//ScrollView截图 contentOffset
- (UIImage *)yg_screenshotForScrollViewWithContentOffset:(CGPoint)contentOffset;

//View按Rect截图
- (UIImage *)yg_screenshotInFrame:(CGRect)frame;
@end
